<%@ taglib prefix="c" uri="/WEB-INF/tlds/hdiv-c.tld" %>
<%@ taglib prefix="form" uri="/WEB-INF/tlds/hdiv-spring-form-3_0_4.tld"%>

<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<c:url value="/confParamGene.html" var="confParamGene"/>
<script language="javascript" type="text/javascript">  

</script>
<style type="text/css">  
<!-- 
#loading_mostrar {display:none;}  
-->  
</style> 
<form:form modelAttribute="form" action="">
<table id="fullheighttable" width="775" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="left" valign="top" class="fondo_contenido padtop16left21">
      <table border="0" cellspacing="0" cellpadding="0" class="verdana11bazul">
      <tr>
        <td height="22" align="left" valign="top" class="verdana11bazul">
          <ul class="navlist2">
          <li>CONFIGURACION DE PARAMETROS </li>
          </ul>
        </td>
      </tr>
      <tr>
        <td align="left">Configuraci&oacute;n General - Modificaci&oacute;n </td>
      </tr>
      <tr>
         <td align="right" width="720">&nbsp;        </td>
      </tr>
      <tr>
        <td align="left" valign="top" class="borde_totalblanco"><table border="0" cellspacing="0" cellpadding="0" width="706">
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul"><c:out value="${form.lblCliente}" />:</td>
              <td colspan="2" valign="top" class="verdana10negro" >
              <form:hidden path="codRazoSoci"  id="dCodRazoSoci" />
              <form:hidden path="codCorp"  id="dCodCorp" />
              <c:if test="${pageContext.request.method=='GET'}">  
                <c:choose>
                <c:when test="${tipClie==TIPO_CLIENTE_CORPORACION}">
                  ${desCorp}
                 </c:when> 
                 <c:otherwise>
                  ${desRazoSoci}
                 </c:otherwise>
                </c:choose>  
              </c:if>
              
          
              <td class="padright10">&nbsp;</td>
            </tr>
            
            <c:if test="${tipClie==TIPO_CLIENTE_CORPORACION}">
              <tr>
                <td width="118" height="23" align="left" valign="top" class="verdana10bazul"> Cliente : </td>
                <td colspan="2" valign="top" class="verdana10negro"  ><label id="dLblCliente"></label></td>
                <td width="172" class="padright10">&nbsp;</td>
              </tr>
            </c:if>
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul">Sucursal: </td>
              <td colspan="2" valign="top" class="verdana10negro" ><form:hidden id="dCodSucursal" path="codSucursal" /><c:out value="${form.desSucursal}" /></td>
              <td>&nbsp;</td>
              </tr>
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul">Descripci&oacute;n:</td>
              <td colspan="2" class="padright10"><form:hidden id="dParm" path="parm" /><c:out value="${form.descripcion}" /></td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul">Valor(es): </td>
              <td colspan="2" class="padright10" align="left">
              <c:if  test="${pageContext.request.method=='GET'}" >
                <c:choose>
                  <c:when test="${form.parm==PARM1}">
                    <div id="divMyDay">
                        
                        <form:checkbox path="dias" value="Lun"  />Lunes &nbsp;&nbsp;&nbsp;&nbsp; 
                        <form:checkbox path="dias" value="Mar" />Martes &nbsp;&nbsp;
                        <form:checkbox path="dias" value="Mie" />Mi&eacute;rcoles &nbsp;
                        <form:checkbox path="dias" value="Jue" />Jueves &nbsp; </br>
                        <form:checkbox path="dias" value="Vie" />Viernes &nbsp;
                        <form:checkbox path="dias" value="Sab" />S&aacute;bado &nbsp;
                        <form:checkbox path="dias" value="Dom" />Domingo                  
                    </div>
                  </c:when>
                  <c:when test="${form.parm == PARM2 || form.parm == PARM3}">
                    <div class="fondo_txtbox90">
                      <form:input path="valor" maxlength="5" cssClass="onlyNumber" />
                     </div>
                  </c:when>
                  <c:when test="${form.parm == PARM4 || form.parm == PARM6 || form.parm == PARM7 || form.parm == PARM10 }">
                        <form:radiobutton path="siNo"  value="Si" valNumber="1"   />Si &nbsp; 
                        <form:radiobutton path="siNo"  value="No" valNumber="0"  />No                  
                  </c:when>
                  <c:when test="${form.parm == PARM5 }">
                    <div class="fondo_txtbox90">
                      <form:input id="valorHora" maxlength="5"  path="valor" cssClass="onlyHour" />
                     </div>
                  </c:when>
                  
                  <c:when test="${form.parm==PARM8}">
                    <div id="divMyBovedas">
                      <form:checkbox path="bovedas" value="Boveda Propia" />Boveda Propia 
                      <form:checkbox path="bovedas" value="Boveda Banco" />Boveda Banco                  
                    </div>
                  </c:when>
                  
                  <c:when test="${form.parm==PARM9}">
                    <div id="divMyFases">
                      <form:radiobutton path="fases"  value="Fase I" valNumber="1"   />Fase I &nbsp;
                      <form:radiobutton path="fases"  value="Fase II" valNumber="0"  />Fase II
                    </div>
                    </c:when>
                </c:choose>
              </c:if>              </td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul">&nbsp;</td>
              <td colspan="2" class="padright10">&nbsp;</td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
              <td height="23" align="left" valign="top" class="verdana10bazul">&nbsp;</td>
              <td colspan="2" class="padright10">&nbsp;</td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
              <td height="41" colspan="3" align="left" valign="top" class="verdana10negro" style="background:#CCCCCC">
              <c:out value="${form.leyenda}" /> </td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
               <td height="23" align="left" valign="top" class="verdana10bazul">&nbsp;</td>
            </tr>
            <tr>
              <td height="23" colspan="3" align="center" valign="top" class="verdana10bazul">   
                <input name="guardar " type="button" class="boton" id="guardar"  value="Guardar" />
                &nbsp;
                <input name="cancelar " type="button" class="boton" id="cancelar"  value="Cancelar" />
              </td>
              <td class="padright10">&nbsp;</td>
            </tr>
            <tr>
              <td height="23" colspan="4" align="left" valign="top" class="verdana10bazul">&nbsp;</td>
            </tr>
          </table></td>
      </tr>
      </table>
        <table width="775">
            <tr>
                <td colspan="8" align="center">    
                <div id="loading_mostrar"><img id="logoDown" src="imagenes/logoProcesandoDown.gif" alt="Procesando" /></div>  
                </td>
           </tr>
        </table>


    </td>
  </tr>
</table>
</form:form>
